const Cookie = process.server ? require("js-cookie") : undefined;
export default function ({ store, route, redirect, req }) {
    if (!store.state.token) {
        return redirect('/login')
    }

}